
// CartItems.java

package com.ruoyi.patient.entity.cart;

import com.ruoyi.service.domain.ServiceMycart;

@lombok.Data
public class CartItems {
    private Long cartId;
    private String cateName;
    private Long cost;
    private Long count;
    private Long id;
    private String image;
    private String name;
    private Long price;
    private SelectedPkg selectedPkg;
    private SelectedSpec selectedSpec;

    public CartItems() {
    }

    public CartItems(ServiceMycart mycart) {
        this.cartId = mycart.getMycartId();
        this.count = Long.valueOf(mycart.getMycartNum());
        this.cost = mycart.getMycartCost();
        this.id = mycart.getMycartItemid();
    }
}